package com.seed.bpmn.engine.common.constants;

/**
 * 公共常量类
 *
 * @author cscz89@126.com
 */
public class BpmnConstants {

    /**
     * id
     */
    public static final String ATTRIBUTE_ID = "id";

    /**
     * 名称
     */
    public static final String ATTRIBUTE_NAME = "name";

    /**
     * 类型
     */
    public static final String ATTRIBUTE_TYPE = "type";

    /**
     * 启动者
     */
    public static final String ATTRIBUTE_EVENT_START_INITIATOR = "initiator";

    /**
     * 签收人
     */
    public static final String ATTRIBUTE_TASK_USER_ASSIGNEE = "assignee";

    /**
     * 所属人
     */
    public static final String ATTRIBUTE_TASK_USER_OWNER = "owner";

    /**
     * 候选人
     */
    public static final String ATTRIBUTE_TASK_USER_CANDIDATEUSERS = "candidateUsers";

    /**
     * 候选组
     */
    public static final String ATTRIBUTE_TASK_USER_CANDIDATEGROUPS = "candidateGroups";

    /**
     * 分类
     */
    public static final String ATTRIBUTE_TASK_USER_CATEGORY = "category";

    /**
     * 退回
     */
    public static final String ATTRIBUTE_FLOW_BACK = "back";

    /**
     * 拟稿
     */
    public static final String ATTRIBUTE_TASK_DRAFT = "draft";

    /**
     * 传阅
     */
    public static final String ATTRIBUTE_TASK_CIRCULATION = "circulation";

    /**
     * 多实例
     */
    public static final String ATTRIBUTE_TASK_MULTIINSTANCE = "multiInstance";

    /**
     * 多流实例总实例个数
     */
    public static final String ATTRIBUTE_MULTIINSTANCE_TOTAL = "nrOfInstances";

    /**
     * 多实例已完成实例个数
     */
    public static final String ATTRIBUTE_MULTIINSTANCE_COMPLETED = "nrOfCompletedInstances";

    /**
     * 处理意见
     */
    public static final String ATTRIBUTE_TASK_SUGGESTION = "suggestion";

    /**
     * 下一流程环节id
     */
    public static final String ATTRIBUTE_TASK_DESTINATE_ID = "nextNodeId";

    /**
     * 下一流程环节名称
     */
    public static final String ATTRIBUTE_TASK_DESTINATE_NAME = "nextNodeName";

    /**
     * 控制码
     */
    public static final String ATTRIBUTE_CONTROL_CODE = "controlCode";

    /**
     * 流程环节上是否需要填写意见配置
     */
    public static final String ATTRIBUTE_ADVICE = "advice";

    /**
     * 流程环节上文档操作配置
     */
    public static final String ATTRIBUTE_OFFICE = "office";

    /**
     * 自定义参数配置
     */
    public static final String ELEMENT_DOCUMENTATION = "documentation";

    /**
     * 子流程
     */
    public static final String ELEMENT_SUBPROCESS = "subProcess";

    /**
     * 流程模版默认开始事件id
     */
    public static final String ELEMENT_START_EVENT_ID = "startevent1";

    /**
     * 服务类型任务节点
     */
    public static final String ELEMENT_TASK_SERVICE = "serviceTask";

    /**
     * 用户任务节点
     */
    public static final String ELEMENT_TASK_USER = "userTask";

    /**
     * 网关
     */
    public static final String ELEMENT_GATEWAY = "Gateway";

    /**
     * 流程开始事件类型
     */
    public static final String ELEMENT_EVENT_START = "startEvent";

    /**
     * 流程结束事件类型
     */
    public static final String ELEMENT_EVENT_END = "endEvent";
}
